package com.yitao.client.dto.product;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Date: 2019/6/27 14:25
 * @Author: Kien
 */
public class ProductTaskLowerShelfDto extends BaseDto {
    /**
     * 主键id
     */
    @ApiModelProperty("主键id")
    private Long id;

    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    private Long productId;

    /**
     * 商品下架时间
     */
    @ApiModelProperty("商品下架时间")
    private Date lowerShelfTime;

    /**
     * 商品上架时间
     */
    @ApiModelProperty("商品上架时间")
    private Date executedTime;

    /**
     * 是否已执行 0:未执行 1:执行失败 2:已执行 3:失败超过2次
     */
    @ApiModelProperty("是否已执行 0:未执行 1:执行失败 2:已执行 3:失败超过2次 4:手动下架")
    private Integer isExecuted;

    /**
     * 执行次数，如果超过2次失败，将不再执行
     */
    @ApiModelProperty("执行次数")
    private Integer implementNumber;

    /**
     * 是否删除(0:否 1:是)
     */
    @ApiModelProperty("是否删除(0:否 1:是)")
    private Boolean isDelete;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Date getLowerShelfTime() {
        return lowerShelfTime;
    }

    public void setLowerShelfTime(Date lowerShelfTime) {
        this.lowerShelfTime = lowerShelfTime;
    }

    public Date getExecutedTime() {
        return executedTime;
    }

    public void setExecutedTime(Date executedTime) {
        this.executedTime = executedTime;
    }

    public Integer getIsExecuted() {
        return isExecuted;
    }

    public void setIsExecuted(Integer isExecuted) {
        this.isExecuted = isExecuted;
    }

    public Integer getImplementNumber() {
        return implementNumber;
    }

    public void setImplementNumber(Integer implementNumber) {
        this.implementNumber = implementNumber;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
